<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <h1>{{message}}</h1>
    <h2>
        <ui>
            <li v-for="item in movies">
                {{item}}
            </li>
        </ui>
    </h2>
</div>

<script src="../js/vue.js"></script>
<script>
    const app = new Vue({
        el: '#app',
        data: {
            message: '电影推荐',
            movies: ['战狼','长津湖','流浪地球','星际穿越']
        }
    })
</script>
</body>
</html>